﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;
using BouquetApplication.logging;

namespace BouquetApplication
{

    public class Program
    {
        private static ILogger logger = LoggerFactory.CreateLogger();

        static void Main(string[] args)
        {
            
            logger.Log("Program started");

            BouquetFactory factory = new BouquetFactory();
            Bouquet bouquet = factory.CreateBouquet();
            BouquetPrinter printer = new BouquetPrinter();
            printer.Print(bouquet);
            Console.ReadKey();

            logger.Log("Programm ended");
        }
    }
}